Related Vulnerabilities: CVE-2021-30020  

In the function gf_hevc_read_pps_bs_internal function in media_tools/av_parsers.c in GPAC 1.0.1 there is a loop, which with crafted file, pps->num_tile_columns may be larger than sizeof(pps->column_width), which results in a heap overflow in the loop.

Severity Medium

Remote Yes

Type Arbitrary code execution

Description

In the function gf_hevc_read_pps_bs_internal function in media_tools/av_parsers.c in GPAC 1.0.1 there is a loop, which with crafted file, pps->num_tile_columns may be larger than sizeof(pps->column_width), which results in a heap overflow in the loop.

AVG-1823 gpac 1:1.0.1-1 Medium Vulnerable

https://github.com/gpac/gpac/issues/1722
https://github.com/gpac/gpac/files/6219707/bug5.zip
https://github.com/gpac/gpac/commit/51cdb67ff7c5f1242ac58c5aa603ceaf1793b788